package com.servicesystem.servicesystem.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * (UserAli)实体类
 *
 * @author makejava
 * @since 2020-09-28 15:24:05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserAli implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private String userId;

    private String password;

    private String accessToken;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    private String username;

}
